<template>
	<view class="pt-btn flex-cc" :style="{width:width+'rpx',height:height+'rpx',marginTop:marginTop+'rpx'}" @click="$emit('click')">
		<view>{{title}}</view>
	</view>
</template>

<script>
	export default {
		props:{
			width:{
				type:String,
				default:'600'
			},
			height:{
				type:String,
				default:'102'
			},
			title:{
				type:String,
				default:''
			},
			marginTop:{
				type:String,
				default:'0'
			}
		},
		name:"public-btn",
		data() {
			return {
				
			};
		}
	}
</script>

<style>
.pt-btn{
	width: 600rpx;
	height: 102rpx;
	background: linear-gradient(180deg, #58B938 0%, #58B938 100%);
	border-radius: 51rpx;
	font-size: 36rpx;
	font-weight: bold;
	color: #FFFFFF;
	margin: 0 auto;
}
</style>